home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
program
/
owldlgs.zip
/
DLGSYSMD.RC
< prev
next >
Wrap
Text File
|
1992-01-12
|
1KB
|
32 lines
/*******************************************/
/* Dlgsysmd.rc defines two dialog boxes */
/* and a menu for the main dialog box */
/* note the system model qualifier on the */
/* second dialog box */
/*******************************************/
#include "windows.h"
#include "dlgsysmd.h"
MAINDIALOGMENU MENU
BEGIN
MENUITEM "System Modal Dialog", IDM_MODAL_DIALOG
END
Main_Window_Dialog DIALOG 4, 27, 190, 50
CAPTION "Main Window Dialog"
MENU MAINDIALOGMENU
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
BEGIN
PUSHBUTTON "System Modal Dialog", IDB_MODAL_DIALOG, 12, 12, 78, 20, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Close", IDCANCEL, 102, 12, 78, 20, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
Modal_Dialog_Box DIALOG 18, 18, 113, 60
CAPTION "System Modal Dialog Box"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_SYSMODAL
BEGIN
DEFPUSHBUTTON "Close", IDCANCEL, 30, 12, 54, 30, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END